-
Notifications
You must be signed in to change notification settings - Fork 56
Switch Kálmán filters to use Joseph form #1048
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Performance summaryHere is a summary of the performance effects of this PR: GraphicalTabular
Important All metrics in this report are given as reciprocal throughput, not as wallclock runtime. Note This is an automated message produced on the explicit request of a human being. |
|
The longer computation time is because there are more tracks which survive during their propagation? or is it purely from the increased amount of computation? |
I'm not entirely sure; the fact that |
|
So, what's the idea with this PR? If it makes our calculations more stable, I would still try to get it in, even with the small performance penalty. |
|
Yes I am happy go ahead with this. @niermann999 could you test if this fixes any of the KF problems you found? We should also merge in your KF tests ASAP. |
e2c041d to
c0d2faf
Compare
|
c0d2faf to
e7b43fc
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This commit switches the Kálmán filters to use the Joseph form covariance update which is known to be usable for any gain matrix $K$ even if the gain matrix is distorted by numerical imprecision. Empirically, this seems to resolve quite a few issues with our filtering algorithms.
e7b43fc to
50776d5
Compare
|
Physics performance summaryHere is a summary of the physics performance effects of this PR. Command used: Seeding performanceTotal number of seeds went from 298341 to 298345 (+0.0%) Track finding performanceTotal number of found tracks went from 55970 to 55972 (+0.0%) Track fitting performanceNote This is an automated message produced on the explicit request of a human being. |
| const matrix_type<D, D> i_minus_hk = I_m - H * K; | ||
| // See | ||
| // https://indico.cern.ch/event/1564924/contributions/6629447/attachments/3113201/5519076/asami_250731_acts.pdf | ||
| const matrix_type<D, D> R = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should something like this also be done for R_smt? Or does that not make sense, since the smoothed covariance is calculated differently?



































This commit switches the Kálmán filters to use the Joseph form covariance update which is known to be usable for any gain matrix$K$ even if the gain matrix is distorted by numerical imprecision. Empirically, this seems to resolve quite a few issues with our filtering algorithms.